#ifndef VMODULESETTINGDLG_H
#define VMODULESETTINGDLG_H

#include <QDialog>
#include <QString>
#include <QStringList>
#include <QList>

#include <QJsonArray>

#include "VModuleSettingItemDlg.h"

namespace Ui {
class VModuleSettingDlg;
}

class VModuleSettingDlg : public QDialog
{
    Q_OBJECT

public:
    explicit VModuleSettingDlg(QWidget *parent, QJsonArray json_array);
    ~VModuleSettingDlg();

    bool _is_modify = false;
    QJsonArray _result_json_array;

private slots:
    void on_pushButton_clicked();

private:
    Ui::VModuleSettingDlg *ui;

    QList<VModuleSettingItemDlg*> _dlg_list;
    QJsonArray _json_array;
};

#endif // VMODULESETTINGDLG_H
